#pragma once

#include <vector>
#include <iostream>

#include <opencv2\core\core.hpp>
#include <opencv2\legacy\legacy.hpp>
#include <opencv2\imgproc\imgproc.hpp>
#include <opencv2\highgui\highgui.hpp>

#include "PublicInterfaces\{FAFD3CB8-FCF3-46EE-B32E-45A4FF68073E}\IImageComputeFn.h"

using namespace cv;

class ImageFileUtil
{

public:
	ImageFileUtil();
	~ImageFileUtil();

	static bool WriteArrayToFile(IImageComputeFn *fn, int width, int height, const char *pathfilename, const char *arrayIntsStr);

private:
	static void drawPts(Mat& img, vector<Point2f>& pts);

};

